var rootview = ui("$");
var app = sm("do_App");
var page = sm("do_Page");
var openHelper = require("helper/open");
var circleHelper = require("helper/circle");
var layoutMain = ui("layoutMain");
var cpView = ui("cpView");
var name = ui("name");
rootview.setMapping({   // 此处的Mapping只能设置在 RootView 上 ;
	"layoutMain.tag" : "id",
	"fullLogo.source" : "fullLogo",
	"name.text" : "name",
	"InforTime.text" : "cnUpdAt",
	"cityName.text" : "cityName",
    "cpView.tag" : "memberCount"
});
rootview.on("dataRefreshed", function(){
	cpView.items = {"rightView":{"memberCount":cpView.tag}};
});
//详情
layoutMain.on("touch", function(data) {
	circleHelper.toCircleDetail(layoutMain.tag, name.text);
});